<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
	div{
		/* 将div变成内联元素 */
		display:inline;
	}
	span{
		/* 将span变成块级元素 */
		display:block;
	}
</style>
</head>
<body>
<div>d1</div>
<div>d2</div>
<div>d3</div>
<span>s1</span>
<span>s2</span>
<span>s3</span>
</body>
</html>